<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="__CSS__/main.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/common.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.min.css" />
    <script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
    <![endif]-->
    <title></title>
</head>
<body>
<div class="contant">
<div class="row">
        <div class="top">合规部>客户投诉列表</div>
        <div class="content applylist">
            <div class="box">
                <h1>客户投诉列表</h1>
                <div class="list-block">
                    <div class="row">
                        <a href="{:U('Complain/User_add')}"><button class="addcus"><span></span>投诉录入</button></a>
                    </div>
                    <form action='{:U("Complain/add_index")}' method="get">
                      <div class="row">
                       <label>用户名称:</label> <input type="text" name="user_name" placeholder="请输入名称" value={$_GET['user_name']} >
                       <label>手机号:</label> <input type="text" name="telephone" placeholder="请输入手机号" value={$_GET['telephone']} >
                        <label>投诉时间:</label> <input type="date" name="create_time_beg" placeholder="请选择时间" value={$_GET['create_time_beg']}><em>~</em>
                        <input type="date" name="create_time_end" placeholder="请选择时间" value={$_GET['create_time_end']}>
                        <select name='status'>
                        <option value=''>状态</option>
                        <option value='1' <eq name='Think.get.status' value='1'>selected</eq> >已处理</option>
                        <option value='0' <eq name='Think.get.status' value='0'>selected</eq> >未处理</option>
                          </select>
                        <button class="search" type='submit'><img src="__IMG__/search.png" alt="">查询</button>
                    </div>
                    </form>
                    <div class="row">
                        <table class="list">
                            <tr>
                                <th>编号</th>
                                <th>申请人</th>
                                <th>手机号</th>
                                <th>投诉类型</th>
                                <th>添加时间</th>
                                <th>状态</th>
                            </tr>

                            <volist name='list' id='list'>
                             <tr>
                                <td>{$i}</td>
                                <td>{$list.user_name}</td>
                                <td>{$list.user_phone}</td>
                                <td><switch name='list.type'>
                                   <case value='1'>业务问题</case>
                                   <case value='2'>客户问题</case>
                                   <case value='3'>流程问题</case>
                                </switch></td>
                                <td>{$list.add_time|date='Y-m-d H:i',###}</td>
                                <td> <switch name='list.status'>
                                <case value='0'>未处理</case>
                                 <case value='1'>已处理</case>
                                </switch></td>
                             </tr>
                            </volist>

                        </table>
                    </div>
                    {$page}
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>